package Application.MapApplication.def
{
	public class Def
	{
		/**HomeMap**/
		public static const XML_HomeMapImgSrc : String = "assets/xml/homeMap_img_src.xml"; 
		public static const XML_HomeMapDataSrc : String = "assets/xml/homeMap000.xml";
		
		public static const URL_RefConfig : String = "assets/xml/RefURL.xml"; 
		
		/**加载配置文件**/
		public static const LOADCONFIG_PROGRESS : String = "LOADCONFIG_PROGRESS";
		public static const LOADPRELOADING_COMPLETE : String = "LAODPRELOADING_COMPLETE";
		
		/**加载资源**/
		public static const LOADSOURCE_PROGRESS : String = "LOADSOURCE_PROGRESS";
		
		public static const STAGE_SIZE_CHANGED : String = "STAGE_SIZE_CHANGED";
		public static const STAGE_ALIGN_MIDDLE : String = "STAGE_ALIGN_MIDDLE";
		public static const STAGE_ALIGN_MIDDLEX : String = "STAGE_ALIGN_MIDDLEX";
		public static const STAGE_ALIGN_MIDDLEY : String = "STAGE_ALIGN_MIDDLEY";
		public static const STAGE_ALIGN_TOP : String = "STAGE_ALIGN_TOP";
		public static const STAGE_ALIGN_BOTTOM : String  = "STAGE_ALIGN_BOTTOM";
		public static const STAGE_ALIGN_LEFT : String = "STAGE_ALIGN_LEFT";
		public static const STAGE_ALIGN_RIGHT : String = "STAGE_ALIGN_RIGHT";
		
		public static const Deep_Scene : int = 0;
		public static const Deep_UI_Main : int = 1;
		public static const Deep_Wnd_Main : int =2;
		
		/**uiId**/
		public static const APPLICATIONFACADE : String = "APPLICATIONFACADE";
		public static const PreloadingScene : String = "Facade_Preloading";
		public static const HomeScene : String = "HomeScene";
		public static const MainWnd : String = "MainWnd";
		public static const UIMain  : String ="UIMain";
		public static const MainTop : String ="MainTop";
		public static const CreateMap : String = "CreateMap";
		public static const MapEdit : String = "MapEdit";
		public static const MapEditMapList : String = "MapEditMapList";
		
		/***Notification***/
//		/**common**/
//		public static const CMD : String = "COMMAND";
//		public static const PRO : String = "PROXY";
//		public static const MED : String = "MEDIATOR";
//		
		public static const UI_CREATE : String = "UI_CREATE";
//		public static const UI_DESTORY : String = "UI_DESTORY";
//		public static const UI_SHOW : String = "UI_SHOW";
//		public static const UI_CLOSE : String = "UI_CLOSE";
//		public static const UI_TURN : String = "UI_TURN";
//		public static const UI_SWAP : String = "UI_SWAP";
		
		/**single**/
		public static const MainWnd_Show : String = "MainWnd_Show";
		public static const MainWnd_Close : String = "MainWnd_Close";
		public static const MainWnd_Turn : String = "MainWnd_Turn";
		
		public static const MainTop_Show : String = "MainTop_Show";
		public static const MainTop_Close : String = "MainTop_Close";
		public static const MainTop_Turn : String = "MainTop_Turn";
		
		public static const CreateMap_Show : String = "CreateMap_Show";
		public static const CreateMap_Close : String = "CreateMap_Close";
		public static const CreateMap_Turn : String = "CreateMap_Turn";
		public static const CreateMap_CreateGride : String = "CreateMap_CreateGride";
		
		/**地图元件列表**/
		public static const MapEditMapList_Show : String = "MapEditMapList_Show";
		public static const MapEditMapList_Close : String = "MapEditMapList_Close";
		public static const MapEditMapList_Turn : String = "MapEditMapList_Turn";
	
		/**编辑地图事件**/
		public static const MapEdit_DragMap : String = "MapEdit_DragMap";
		public static const MapEdit_ClearPan : String = "MapEdit_ClearPan";
		public static const MapEdit_SelectObjLayer : String = "MapEdit_SelectObjLayer";
		public static const MapEdit_SelectGridLayer : String = "MapEdit_SelectGrieLayer";
		public static const MapEdit_SelectBkLayer : String = "MapEdit_SelectBkLayer";
		public static const MapEdit_PutDot : String = "MapEdit_PutDot";
		public static const MapEdit_SelectImgObjModel : String = "MapEdit_SelectImgObjModel";
		public static const MapEdit_DelObj : String = "MapEdit_DelObj";
		public static const MapEdit_ShowGrid : String = "MapEdit_ShowGrid";
		public static const MapEdit_DragEntity : String = "MapEdit_DragEntity";
		public static const MapEdit_Save : String = "MapEdit_Save";
		public static const MapEdit_OpenMapXML : String = "MapEdit_OpenMapXML";
		public static const MapEdit_GridAlphaChanged : String = "MapEdit_GridAlphaChanged";
		public static const MapEdit_WorldLayerAlphaChanged : String = "MapEdit_WorldLayerAlphaChanged";
		public static const MapEdit_EditIsoObj : String = "MapEdit_EditIsoObj";
		public static const MapEdit_EIsoObj : String = "MapEdit_EIsoObj";
		public static const MapEdit_IsoObjFloor : String = "MapEdit_IsoObjFloor";
	}
}